import Vue from 'vue';
import App from './App.vue';
import ElementUI from "element-ui";  // 引入ElementUI
import 'element-ui/lib/theme-chalk/index.css';
import VueRouter from 'vue-router';  // 引入router 插件
import router from './router';
//import store from "./store/index";  // 引入store
import animated from "animate.css";  // 引入animate.css
import http from "./common/request/http.js";
import api from "./common/request/api";

Vue.use(VueRouter);  // 使用路由插件
Vue.use(ElementUI);  // 使用ElementUI
Vue.use(animated);  // 使用animated.css
Vue.config.productionTip = false; // 关闭生产提示
Vue.prototype.$http = http;
Vue.prototype.$api = api;

new Vue({
  render: h => h(App),
  router,
  //store,
}).$mount('#app')
